package com.wing.res.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.product.model.response.ProductPlanningTreeVo;
import com.wing.res.model.entity.ResBenchmarkBookBom;
import com.wing.res.model.response.BenchmarkBookProcessEpVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * skuBom管理-Service
 * @version 1.1.0
 * @Author hz
 * @Date 2024-09-23 20:59
 **/
public interface ResBenchmarkBookBomService extends IService<ResBenchmarkBookBom> {


    /**
     * 根据book基准书id查询 bom树
     * @param id
     * @return
     */
    List<ProductPlanningTreeVo> selectBomTreeByBook(Long id);


    /**
     * 导出基准书工序
     * @param params 参数
     * @return 返回excel导出信息
     */
    List<BenchmarkBookProcessEpVO> exportBenchmarkBooKProcess(Map<String, Object> params);
}
